Optimal. Leaf size=82 \[ \frac{2 i F^{a+b x} \text{Hypergeometric2F1}\left (1,-\frac{i b \log (F)}{d},1-\frac{i b \log (F)}{d},-i e^{i (c+d x)}\right )}{b e \log (F)}-\frac{i F^{a+b x}}{b e \log (F)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.127621, antiderivative size = 82, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.148, Rules used = {4459, 4442, 2194, 2251} \[ \frac{2 i F^{a+b x} \, _2F_1\left (1,-\frac{i b \log (F)}{d};1-\frac{i b \log (F)}{d};-i e^{i (c+d x)}\right )}{b e \log (F)}-\frac{i F^{a+b x}}{b e \log (F)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4459
Rule 4442
Rule 2194
Rule 2251
Rubi steps
\begin{align*} \int \frac{F^{a+b x} \cos (c+d x)}{e-e \sin (c+d x)} \, dx &=\frac{\int F^{a+b x} \tan \left (\frac{c}{2}+\frac{\pi }{4}+\frac{d x}{2}\right ) \, dx}{e}\\ &=\frac{i \int \left (-F^{a+b x}+\frac{2 F^{a+b x}}{1+e^{2 i \left (\frac{c}{2}+\frac{\pi }{4}+\frac{d x}{2}\right )}}\right ) \, dx}{e}\\ &=-\frac{i \int F^{a+b x} \, dx}{e}+\frac{(2 i) \int \frac{F^{a+b x}}{1+e^{2 i \left (\frac{c}{2}+\frac{\pi }{4}+\frac{d x}{2}\right )}} \, dx}{e}\\ &=-\frac{i F^{a+b x}}{b e \log (F)}+\frac{2 i F^{a+b x} \, _2F_1\left (1,-\frac{i b \log (F)}{d};1-\frac{i b \log (F)}{d};-i e^{i (c+d x)}\right )}{b e \log (F)}\\ \end{align*}
Mathematica [A] time = 2.57243, size = 64, normalized size = 0.78 \[ \frac{i F^{a+b x} \left (-1+2 \text{Hypergeometric2F1}\left (1,-\frac{i b \log (F)}{d},1-\frac{i b \log (F)}{d},-i e^{i (c+d x)}\right )\right )}{b e \log (F)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.175, size = 0, normalized size = 0. \begin{align*} \int{\frac{{F}^{bx+a}\cos \left ( dx+c \right ) }{e-e\sin \left ( dx+c \right ) }}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -\frac{2 \, F^{b x} F^{a} b d \cos \left (d x + c\right ) \log \left (F\right ) + 2 \, F^{b x} F^{a} d^{2} \sin \left (d x + c\right ) -{\left (F^{a} b^{2} \log \left (F\right )^{2} + F^{a} d^{2}\right )} F^{b x} \cos \left (d x + c\right )^{2} -{\left (F^{a} b^{2} \log \left (F\right )^{2} + F^{a} d^{2}\right )} F^{b x} \sin \left (d x + c\right )^{2} +{\left (F^{a} b^{2} \log \left (F\right )^{2} - F^{a} d^{2}\right )} F^{b x} + \frac{{\left (F^{b x} d \cos \left (d x + c\right )^{2} - 2 \, F^{b x} b \cos \left (d x + c\right ) \log \left (F\right ) + F^{b x} d \sin \left (d x + c\right )^{2} - 2 \, F^{b x} d \sin \left (d x + c\right ) + F^{b x} d\right )}{\left ({\left (F^{a} b^{3} d \log \left (F\right )^{3} + F^{a} b d^{3} \log \left (F\right )\right )} e \cos \left (d x + c\right )^{2} +{\left (F^{a} b^{3} d \log \left (F\right )^{3} + F^{a} b d^{3} \log \left (F\right )\right )} e \sin \left (d x + c\right )^{2} - 2 \,{\left (F^{a} b^{3} d \log \left (F\right )^{3} + F^{a} b d^{3} \log \left (F\right )\right )} e \sin \left (d x + c\right ) +{\left (F^{a} b^{3} d \log \left (F\right )^{3} + F^{a} b d^{3} \log \left (F\right )\right )} e\right )}}{{\left (b^{3} \log \left (F\right )^{3} + b d^{2} \log \left (F\right )\right )} e \cos \left (d x + c\right )^{2} +{\left (b^{3} \log \left (F\right )^{3} + b d^{2} \log \left (F\right )\right )} e \sin \left (d x + c\right )^{2} - 2 \,{\left (b^{3} \log \left (F\right )^{3} + b d^{2} \log \left (F\right )\right )} e \sin \left (d x + c\right ) +{\left (b^{3} \log \left (F\right )^{3} + b d^{2} \log \left (F\right )\right )} e}}{{\left (b^{3} \log \left (F\right )^{3} + b d^{2} \log \left (F\right )\right )} e \cos \left (d x + c\right )^{2} +{\left (b^{3} \log \left (F\right )^{3} + b d^{2} \log \left (F\right )\right )} e \sin \left (d x + c\right )^{2} - 2 \,{\left (b^{3} \log \left (F\right )^{3} + b d^{2} \log \left (F\right )\right )} e \sin \left (d x + c\right ) +{\left (b^{3} \log \left (F\right )^{3} + b d^{2} \log \left (F\right )\right )} e} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-\frac{F^{b x + a} \cos \left (d x + c\right )}{e \sin \left (d x + c\right ) - e}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} - \frac{\int \frac{F^{a} F^{b x} \cos{\left (c + d x \right )}}{\sin{\left (c + d x \right )} - 1}\, dx}{e} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int -\frac{F^{b x + a} \cos \left (d x + c\right )}{e \sin \left (d x + c\right ) - e}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]